package com.fjnldx.mes.domain.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "用户")
public class User {
  @ApiModelProperty(notes = "用户id")
  private Integer id;
  @ApiModelProperty(notes = "用户名",required = true,example = "")
  private String username;
  @ApiModelProperty(notes = "密码",required = true,example = "")
  private String password;
  @ApiModelProperty(notes = "手机号",example = "")
  private String phone;
  @ApiModelProperty(notes = "QQ号",example = "")
  private String qq;
  @ApiModelProperty(notes = "微信号",example = "")
  private String wx;

  @Override
  public String toString() {
    return "User{" +
            "id=" + id +
            ", username='" + username + '\'' +
            ", password='" + password + '\'' +
            ", phone='" + phone + '\'' +
            ", qq='" + qq + '\'' +
            ", wx='" + wx + '\'' +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getQq() {
    return qq;
  }

  public void setQq(String qq) {
    this.qq = qq;
  }

  public String getWx() {
    return wx;
  }

  public void setWx(String wx) {
    this.wx = wx;
  }
}
